// Load in HTML templates

var viewportModelTemplate;

loadTemplate("templates/viewport.html", function(element) {
	viewportModelTemplate = element;
})

var studyViewerTemplate;

loadTemplate("templates/studyViewer.html", function(element) {
    element.appendTo('#studyContainerWrapper');
    studyViewerTemplate = element;
});

// Prevent scrolling on iOS
document.body.addEventListener('touchmove', function(e) {
  e.preventDefault();
});
